\hypertarget{structwickr__kdf__algo}{}\section{wickr\+\_\+kdf\+\_\+algo Struct Reference}
\label{structwickr__kdf__algo}\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}}


Metadata associated with a particular K\+DF function.  




{\ttfamily \#include $<$kdf.\+h$>$}

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__wickr__kdf_ga106149e3507106abb6b5be843a4e7c16}{wickr\+\_\+kdf\+\_\+algo\+\_\+id}} \mbox{\hyperlink{structwickr__kdf__algo_a1bc420e2ca0f36169e261205bf6246e9}{algo\+\_\+id}}
\item 
wickr\+\_\+kdf\+\_\+id \mbox{\hyperlink{structwickr__kdf__algo_a0cf9976901115634ddbb6193b6e326ba}{kdf\+\_\+id}}
\item 
uint8\+\_\+t \mbox{\hyperlink{structwickr__kdf__algo_a9a6ccf9787e16898d1724292dab6593e}{salt\+\_\+size}}
\item 
uint8\+\_\+t \mbox{\hyperlink{structwickr__kdf__algo_a75e5396b3c53817c6799dbf3107e36d6}{output\+\_\+size}}
\item 
uint32\+\_\+t \mbox{\hyperlink{structwickr__kdf__algo_a3591ba4f7b6b916381ad28327a67d08c}{cost}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Metadata associated with a particular K\+DF function. 

The algorithm is defined by a base algorithm, as well as a specific sub-\/algorithm associated with it. As an example K\+D\+F\+\_\+\+S\+C\+R\+Y\+PT as the algo\+\_\+id with K\+D\+F\+\_\+\+I\+D\+\_\+\+S\+C\+R\+Y\+P\+T\+\_\+17 as the kdf\+\_\+id. 

\subsection{Field Documentation}
\mbox{\Hypertarget{structwickr__kdf__algo_a1bc420e2ca0f36169e261205bf6246e9}\label{structwickr__kdf__algo_a1bc420e2ca0f36169e261205bf6246e9}} 
\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}!algo\_id@{algo\_id}}
\index{algo\_id@{algo\_id}!wickr\_kdf\_algo@{wickr\_kdf\_algo}}
\subsubsection{\texorpdfstring{algo\_id}{algo\_id}}
{\footnotesize\ttfamily wickr\+\_\+kdf\+\_\+algo\+::algo\+\_\+id}

the base algorithm used by this kdf function \mbox{\Hypertarget{structwickr__kdf__algo_a3591ba4f7b6b916381ad28327a67d08c}\label{structwickr__kdf__algo_a3591ba4f7b6b916381ad28327a67d08c}} 
\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}!cost@{cost}}
\index{cost@{cost}!wickr\_kdf\_algo@{wickr\_kdf\_algo}}
\subsubsection{\texorpdfstring{cost}{cost}}
{\footnotesize\ttfamily wickr\+\_\+kdf\+\_\+algo\+::cost}

a number representing the difficulty of calculating the K\+DF function as either C\+PU power, Memory use, or a combination of both \mbox{\Hypertarget{structwickr__kdf__algo_a0cf9976901115634ddbb6193b6e326ba}\label{structwickr__kdf__algo_a0cf9976901115634ddbb6193b6e326ba}} 
\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}!kdf\_id@{kdf\_id}}
\index{kdf\_id@{kdf\_id}!wickr\_kdf\_algo@{wickr\_kdf\_algo}}
\subsubsection{\texorpdfstring{kdf\_id}{kdf\_id}}
{\footnotesize\ttfamily wickr\+\_\+kdf\+\_\+algo\+::kdf\+\_\+id}

the specific sub-\/algorithm used by this kdf function \mbox{\Hypertarget{structwickr__kdf__algo_a75e5396b3c53817c6799dbf3107e36d6}\label{structwickr__kdf__algo_a75e5396b3c53817c6799dbf3107e36d6}} 
\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}!output\_size@{output\_size}}
\index{output\_size@{output\_size}!wickr\_kdf\_algo@{wickr\_kdf\_algo}}
\subsubsection{\texorpdfstring{output\_size}{output\_size}}
{\footnotesize\ttfamily wickr\+\_\+kdf\+\_\+algo\+::output\+\_\+size}

the number of bytes this algorithm will produce as an ouput \mbox{\Hypertarget{structwickr__kdf__algo_a9a6ccf9787e16898d1724292dab6593e}\label{structwickr__kdf__algo_a9a6ccf9787e16898d1724292dab6593e}} 
\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}!salt\_size@{salt\_size}}
\index{salt\_size@{salt\_size}!wickr\_kdf\_algo@{wickr\_kdf\_algo}}
\subsubsection{\texorpdfstring{salt\_size}{salt\_size}}
{\footnotesize\ttfamily wickr\+\_\+kdf\+\_\+algo\+::salt\+\_\+size}

the number of bytes this algorithm expects for a salt value 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/wickrcrypto/include/wickrcrypto/kdf.\+h\end{DoxyCompactItemize}
